-
Notifications
You must be signed in to change notification settings - Fork 208
MPP-4160: Modify Popup Banner - 4 Mask Limit #5546
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
01cf2f5
to
7122fb5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mentioned in Slack, and per our doc:
Do not re-use IDs for new or updated strings. The translations of existing strings are valid and used in live content. When updating content, add a digit to the string ID to signal it will replace another string. For example, premium-promo-availability-warning-4 replaces premium-promo-availability-warning-3. Remove the old strings when they are no longer referenced in the code.
And, since we're changing the us heading & description to match the non-us values, we could simplify this by introducing new message IDs:
upsell-banner-4-masks-heading = Get maximum email protection
upsell-banner-4-masks-description = Unlock unlimited email masks, reply directly from them, and create new ones instantly with your own { -brand-name-relay } subdomain - anytime, anywhere.
Note: need to check with Product that we can use this new no-phone description for both US and non-US.
Then, we can remove the us/non-us
logic from CornerNotification.tsx
.
i had the same thought about the us/non-us logic around |
7122fb5
to
6abf98c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
suggestions (non-blocking): since we want to always show the same non-phone heading, description, and image in this upsell banner, we can remove all the isPhonesAvailable
, region
, and suffix
logic.
513d3ff
to
e4a148a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spot-check and code looks good. Just need to remove the isPhonesAvailable
variable declaration to fix the frontend build error.
7ae495e
to
deb0d18
Compare
deb0d18
to
a07c9cb
Compare
MPP-4160: Modify Popup Banner - 4 Mask Limit #5545
Screenshot
How to test
Checklist (Definition of Done)
/frontend/src/styles/colors.scss
).